]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add an 'rt' command to the Run dialog to reload the theme
authorFederico Mena Quintero <federico@gnome.org>
Tue, 4 Jan 2011 19:34:54 +0000 (14:34 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 7 Jan 2011 20:21:48 +0000 (15:21 -0500)
This should be useful for theme authors who want to quickly reload
the theme without restarting the whole shell.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=630428

js/ui/runDialog.js

index aae73924afe45f3c64b226969b6f4e9314ae79fa..d09639ceb833b1df90f31ce4438d16bde398e196 100644 (file)
@@ -207,6 +207,11 @@ RunDialog.prototype = {
 
                                    'debugexit': Lang.bind(this, function() {
                                        Meta.exit(Meta.ExitCode.ERROR);
+                                   }),
+
+                                   // rt is short for "reload theme"
+                                   'rt': Lang.bind(this, function() {
+                                       Main.loadTheme();
                                    })
                                  };